/**
 * @author caif
 * @fileoverview breadcrumb viewer
 */
 App.Views.breadcrumbView = Backbone.View.extend({
 	 template: tpl.breadcrumb,
 	
     className: "breadcrumb-item",
     
     tagName: 'li',
     
     initialize: function() {
     	var self = this;
	    self.model.on('change', self.render, self);
	 },
	 
	 render: function(){
	 	var self = this;
        self.$el.html( Mustache.to_html(self.template, self.model.toJSON()));
	    return self;
	 }
 });
